package com.itheima.service.mongo;

import com.itheima.domain.mongo.Visitor;

import java.util.List;

public interface VisitorService {
    // 查询最近访客
    List<Visitor> findVisitorByCondition(Long userId, Long lastAccessTime);

    //添加访客
    void  addVisitor(Visitor visitor);

}
